package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.StorageRecord;
import com.ktjiaoyu.entity.Supplier;
import com.ktjiaoyu.entity.SysUser;
import com.ktjiaoyu.utils.Page;

import java.util.List;

public interface SupplierService {
    /**
     * 多条件查询用户分页数据
     */
    public Page<Supplier> findPage(Supplier supplier, Integer pageNo, Integer pageSize) throws Exception;

    /**
     * 保存或修改供应商信息
     */
    public boolean saveOrUpdate(Supplier supplier) throws Exception;

    /**
     * 根据ID查询供应商信息
     */
    public Supplier findById(Long id) throws Exception;

    public List<Supplier> findAll() throws Exception;


    boolean deleteById(Long id);
}
